home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / packer / tar / doc / todo < prev    next >
Text File  |  1995-03-09  |  3KB  |  56 lines

  1. @(#) TODO 1.15 87/11/06
  2.  
  3. Test owner/group on extraction better.
  4.  
  5. creation of links, symlinks, nodes doesn't follow the -k (f_keep) guidelines;
  6. if the file already exists, it is not replaced, even though no -k.
  7.  
  8. Check stderr and stdout for errors after writing, and quit if so.
  9.  
  10. Preliminary design of Multifile option to handle EOFs on input and
  11. output.  Multifile can just close the archive when it hits end of
  12. archive, and ask for archive to be changed.  It has no choice on some
  13. media, e.g. floppies and cartridge tapes, where there is no room for an
  14. EOF block there.  Start off 2nd archive medium with odd header block,
  15. duplicating original, but with offset to start of data spec'd.  Reading
  16. such a header causes tar non-'M' to complain while extracting (but to
  17. seek there and do it anyway!)  Big win -- this works on cartridge
  18. tapes, should work on floppies, might work on magtape.  It would
  19. encourage the *&%#$ systems programmers to fix their drivers, too!
  20.  
  21. Profile it and see where the time, call counts, etc are going.
  22.  
  23. Fix directory timestamps after inserting files into them.  Wait til next
  24. file that's not in the directory.  Need a stack of them.
  25.  
  26. Option to seek the input file (in skip_file) rather than reading
  27. and tossing it?  (Could just jump in buffer if stuff is in core.)
  28. Could misalign archive reads versus filesys and slow it down, who knows?
  29.  
  30. Add -C option for creating from odd directories a la 4.2BSD?
  31.  
  32. Break out odd bits of code into separate support modules.
  33.  
  34. Add the r, u, X, l, F, C, and digit options of Unix tar.
  35.  
  36. V8 tar does something that is quite handy when reading tapes written on
  37. 4.2 system into non-4.2 systems: it reduces file name components to
  38. 14 bytes or less and ensures that they are unique (I think it truncates
  39. to 10 bytes and appends "..aa" where aa are two unique letters) and puts
  40. out a file containing the mapping between long names on tape and short
  41. names on disk.
  42.  
  43. Clean up 'd' (diff) option.  Currently it works for regular files
  44. and symlinks, needs work for dirs and links.  Ideally, output should
  45. look like "diff -r" or -rl after an extract of the tape and a real diff.
  46. Right now it's very messy.  To do the above, we'd need to read the
  47. directories that we touch and check all the file names against what's
  48. on the tape.  All we do now is check the file contents and stats.
  49.  
  50. Check "int" variables to see if they really need to be long (file sizes,
  51. record counts, etc).  Sizes of in-core buffers should be int; since
  52. malloc() takes an int argument we can never allocate one any bigger.
  53. Maybe unsigned int would be better, though.  Little system people,
  54. help me out here!  (E.g. run lint on it on your system and send me
  55. the result if it shows anything fixable.)
  56.